package com.ljx.shiro.mapper;

import com.ljx.shiro.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @Author: Ljx
 * @Date: 2022/4/26 17:11
 * @role:
 */
//@Mapper
public interface UserMapper {

    /**
     * 用户登录
     * @param account
     * @param password
     * @return
     */
//    @Select("select * from account where account = #{account} and password = #{password};")
    User userLogin(@Param("account") String account,@Param("password") String password);
}
